package com.openbravo.bean.erp.subject;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

import com.openbravo.bean.Product;
import com.openbravo.bean.ref.I_RefProduct;

public class SubjectProduct implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey,I_RefProduct{
	/**
	 * 
	 */
	private static final long serialVersionUID = -3463702782801745695L;
	private String id;
	private String subjectId;
    private String productID;//商品ID引用
    private Product includeProduct;//包含的商品
    private String attrInsValue;
    private double unit=1;
    private Date lastModified;
    
    @Override
	public Date getLastModified() {
		return lastModified;
	}
	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}
	
	@Override
	public void setKey(String key) {
		this.id=key;
	}
	@Override
	public String getKey() {
		return id;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}
	public String getProductID() {
		return productID;
	}
	public void setProductID(String productID) {
		this.productID = productID;
	}
	public Product getIncludeProduct() {
		return includeProduct;
	}
	public void setIncludeProduct(Product includeProduct) {
		this.includeProduct = includeProduct;
	}
	public String getAttrInsValue() {
		return attrInsValue;
	}
	public void setAttrInsValue(String attrInsValue) {
		this.attrInsValue = attrInsValue;
	}
	public double getUnit() {
		return unit;
	}
	public void setUnit(double unit) {
		this.unit = unit;
	}

}
